Skip to content

Conversation

@yuancu
Copy link
Collaborator

@yuancu yuancu commented Nov 12, 2025

Description

Allow users to specify a timestamp field instead of assuming there exists a @timestamp field when using timechart command.

For example, the following query is made possible:

source=events | timechart timefield=start_at span=1hour by category

Related Issues

Resolves #4576

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • New functionality has javadoc added.
  • New functionality has a user manual doc added.
  • New PPL command checklist all confirmed.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff or -s.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@yuancu yuancu added the enhancement New feature or request label Nov 12, 2025
@yuancu yuancu changed the title Use param timefield to specify span field in timechart command Specify timestamp field for aggregation with param timefield in timechart command Nov 12, 2025
Signed-off-by: Yuanchun Shen <[email protected]>
@yuancu yuancu changed the title Specify timestamp field for aggregation with param timefield in timechart command Specify timestamp field with timefield in timechart command Nov 12, 2025
@yuancu yuancu marked this pull request as ready for review November 12, 2025 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 2.19-dev enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] timechart with option to specify timestamp column, overriding the implicit @timestamp field

1 participant